package game;

import java.awt.Rectangle;
import application.messages.commands.parameters.Coordinates2D;

/**
 * Interface which must be implemented by each object for which the
 * collision will be checked.
 * 
 * @author Tomas Zima
 */
public interface ICollidable
{
	public Rectangle[]	getBoundingBoxes(); 
	public void			removeCollision();
	public void			notInCollision();
	
	public void			collidesDown();
	public void			notCollidesDown();

	public void			destroy();
	
	public boolean		isCollidableWithMap();
	public boolean		isSensitivelyDestroyable();
	public boolean		hasDestroyingCharacter();
	public boolean		isDamagable();
	
	public void			damage(int lives);
	public boolean		isDestroyed();
	
	public boolean		isPlayerControlled();
	public boolean		isEnemy();
}
